package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 产品调拨联表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "goods_allocate")
public class GoodsAllocate implements Serializable {
    /**
     * 产品调拨表id
     */
    @TableId(value = "goods_allocate_no", type = IdType.INPUT)
    private Integer goodsAllocateNo;

    /**
     * 产品从表id
     */
    @TableField(value = "goods_spec_id")
    private Integer goodsSpecId;

    /**
     * 调拨数量
     */
    @TableField(value = "goods_allocate_sum")
    private Integer goodsAllocateSum;

    /**
     * 产品库存表id
     */
    @TableField(value = "goods_store_id")
    private Integer goodsStoreId;

    /**
     * 调入仓库id
     */
    @TableField(value = "store_in_id")
    private Integer storeInId;

    /**
     * 调出仓库id
     */
    @TableField(value = "store_out_id")
    private Integer storeOutId;

    /**
     * 备注
     */
    @TableField(value = "notes")
    private String notes;

    private static final long serialVersionUID = 1L;
}